package com.zhentao.model.common.pojo.coupon;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName coupon
 */
@TableName(value ="coupon")
@Data
public class Coupon implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    @TableField(value = "coupon_template_id")
    private Integer couponTemplateId;

    /**
     *
     */
    @TableField(value = "coupon_condition_id")
    private Integer couponConditionId;

    /**
     *
     */
    @TableField(value = "coupon_type_id")
    private Integer couponTypeId;

    /**
     *
     */
    @TableField(value = "stock_quantity")
    private Integer stockQuantity;

    /**
     *
     */
    @TableField(value = "creator_id")
    private Integer creatorId;

    /**
     *
     */
    @TableField(value = "status")
    private Object status;

    /**
     *
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
